﻿CREATE TABLE [csla].[JournalOwnerAdjustmentTypeRules] (
    [JournalOwnerId]           SMALLINT NOT NULL,
    [AdjustmentTypeId]         SMALLINT NOT NULL,
    [ReversalDateRequiredFlag] BIT      NOT NULL,
    [ReversalDateAllowedFlag]  BIT      NULL,
    [CanEffectPnLFlag]         BIT      NOT NULL,
    PRIMARY KEY CLUSTERED ([JournalOwnerId] ASC, [AdjustmentTypeId] ASC) WITH (ALLOW_PAGE_LOCKS = ON, ALLOW_ROW_LOCKS = ON, PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF, STATISTICS_NORECOMPUTE = OFF)
);

